from moviepy.editor import *
from animation.editor import *
from common.common_tools import make_base_dirs

'''
6.	视频帧提取
'''
if __name__ == '__main__':
    output_file_path = '../results/example06/frame%02d.jpg'
    make_base_dirs(output_file_path)
    hzwVideoClip = VideoFileClip('../videos/hzw_part.mp4')
    hzwVideoClip.write_images_sequence(output_file_path, fps=0.25)
